package com.fangcun.service.api;

import com.fangcun.bean.api.agent.order.request.AgentOrderRequest;
import com.fangcun.bean.api.agent.order.request.ConfirmProiceRequest;
import com.fangcun.bean.api.agent.order.response.AgentOrderForResponse;
import com.fangcun.bean.api.agent.order.response.AgentOrderResponse;
import com.fangcun.bean.sys.PageBean;
import com.fangcun.common.exception.ProAffairException;
import com.fangcun.common.exception.ProException;
import com.fangcun.entity.AgentOrder;
import com.github.pagehelper.PageInfo;

public interface AgentOrderService {
	/**完成的订单列表**/
	public PageInfo<AgentOrderResponse> orderList(PageBean<AgentOrderRequest> request)throws ProException;
	
	public PageInfo<AgentOrderForResponse> list(PageBean<AgentOrder> request)throws ProException;
	
	public void confirmProice(ConfirmProiceRequest request) throws ProAffairException;
}
